Run Program Quick Action

About the Run Program Quick Action

The Run Program action enables users to run a scheduled or unscheduled script to a remote data source.

An image of the Run Program Quick Action block in the Graphical Action Designer.

Parameters

To access the parameters select the Action Block to display them in the Settings pane.

Action Block Settings

  • Block Label: A unique name for the block. This is useful to identify each action when you have more than one of the same action block added or cloned in the design area.

  • Connection: Select a pre-defined connection from the dropdown menu. See Using the Run Program for the Remote Host.

  • Program with Path: Click the Function, or f(x) iconicon to open the Expression Editor and enter the full path to the server, including the name of the batch file. For example: \\MainServer\reports\reportprovisioning.exe.

    You must have access to the server.

  • Arguments: The parameters to pass. You can have a parameter with a current context expression. For example, to pass the current category, enter an expression into this field.
  • Wait for the program to finish: Runs the program completely before returning to the page (synchronous). This field is not selected by default, which means that the page appears immediately without waiting for the program to finish (asynchronous). If using asynchronous execution, disable the Output Field parameter.
  • Show program output in message box: Shows the output in a message box.
  • Output Field: Specifies the field name to populate with the return value after running the program. Disable this field if the program execution is asynchronous.

    Only use this field if you checked Wait for program to finish.

Click Save to commit your settings.

Start Block Settings

These settings are accessed by selecting the Start Block, see Start Block Settings.